[INFO] cloning repository https://github.com/pedrofgodinho/gain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrofgodinho/gain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41cb9f904f06f2de39b8103df6db29cbef22d397
[INFO] fixing pedrofgodinho/gain against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pedrofgodinho/gain
[INFO] finished tweaking git repo https://github.com/pedrofgodinho/gain
[INFO] tweaked toml for git repo https://github.com/pedrofgodinho/gain written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedrofgodinho/gain on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedrofgodinho/gain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded serialport v4.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc
[INFO] running `Command { std: "docker" "start" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking cobs v0.3.0
[INFO] [stderr]     Checking unescaper v0.1.6
[INFO] [stderr]     Checking serialport v4.8.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking gain-lib v0.1.0 (/opt/rustwide/workdir/gain-lib)
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking postcard v1.1.3
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking gain-bin v0.1.0 (/opt/rustwide/workdir/gain-bin)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> gain-bin/src/volume.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ffi::OsString, os::windows::ffi::OsStringExt};
[INFO] [stdout]   |                              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Win32::Foundation::{CloseHandle, MAX_PATH},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Win32::Media::Audio::Endpoints::IAudioEndpointVolume,
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Win32::Media::Audio::{
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Win32::System::Com::{CLSCTX_ALL, COINIT_MULTITHREADED, CoCreateInstance, CoInitializeEx},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Win32::System::ProcessStatus::K32GetModuleBaseNameW,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::System::Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Win32::UI::WindowsAndMessaging::{GetForegroundWindow, GetWindowThreadProcessId},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> gain-bin/src/volume.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ffi::OsString, os::windows::ffi::OsStringExt};
[INFO] [stdout]   |                              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Win32::Foundation::{CloseHandle, MAX_PATH},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Win32::Media::Audio::Endpoints::IAudioEndpointVolume,
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Win32::Media::Audio::{
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Win32::System::Com::{CLSCTX_ALL, COINIT_MULTITHREADED, CoCreateInstance, CoInitializeEx},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Win32::System::ProcessStatus::K32GetModuleBaseNameW,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::System::Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Win32::UI::WindowsAndMessaging::{GetForegroundWindow, GetWindowThreadProcessId},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> gain-bin/src/volume.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     core::{Interface, Result as WindowsResult},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> gain-bin/src/volume.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     core::{Interface, Result as WindowsResult},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]    --> gain-bin/src/volume.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |     F: FnMut(&windows::Win32::Media::Audio::IAudioSessionEnumerator, i32) -> Result<()>,
[INFO] [stdout]     |                        ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]    --> gain-bin/src/volume.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |     F: FnMut(&windows::Win32::Media::Audio::IAudioSessionEnumerator, i32) -> Result<()>,
[INFO] [stdout]     |                        ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> gain-bin/src/volume.rs:210:30
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout]     |                              ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 210 -         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout] 210 +         let name = OsString::from_iter(&buffer[0..len])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> gain-bin/src/volume.rs:210:30
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout]     |                              ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 210 -         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout] 210 +         let name = OsString::from_iter(&buffer[0..len])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gain-bin` (bin "gain-bin" test) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `gain-bin` (bin "gain-bin") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc", kill_on_drop: false }`
[INFO] [stdout] dde99a8a30c5feb26273213713336edfc6a5486d1a029fd3d550205e3dac4ebc
